'use strict';
/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  // router.post('/api/upload', controller.home.fileUplod);
  router.post('/merge', controller.home.fileMerge);
  router.get('/api/check', controller.home.checkFile);
  router.get('/api/update', controller.home.getFileName);
  router.post('/api/upload', controller.home.setUrlfunc);
};
